← Index
NYTProf Performance Profile   
For starman worker -M FindBin --max-requests 50 --workers 2 --user=kohadev-koha --group kohadev-koha --pid /var/run/koha/kohadev/plack.pid --daemonize --access-log /var/log/koha/kohadev/plack.log --error-log /var/log/koha/kohadev/plack-error.log -E deployment --socket /var/run/koha/kohadev/plack.sock /etc/koha/sites/kohadev/plack.psgi
  Run on Fri Jan 8 13:01:18 2016
Reported on Fri Jan 8 13:01:35 2016

Filename(eval 360)[/usr/share/perl5/Sub/Quote.pm:5]
StatementsExecuted 48 statements in 324µs
Eval Invoked At/usr/share/perl5/Sub/Quote.pm line 5
Sibling evals1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
202018166µs1.08msDBIx::Class::ResultSourceProxy::::add_unique_constraintDBIx::Class::ResultSourceProxy::add_unique_constraint
11114µs29µsSub::Quote::::BEGIN@4.595 Sub::Quote::BEGIN@4.595
1117µs7µsDBIx::Class::ResultSourceProxy::::BEGIN@10.596DBIx::Class::ResultSourceProxy::BEGIN@10.596
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1{
221µs my $_UNQUOTED = ${$_[1]->{"\$_UNQUOTED"}};
31200ns my $_QUOTED = ${$_[1]->{"\$_QUOTED"}};
42107µs244µs
# spent 29µs (14+15) within Sub::Quote::BEGIN@4.595 which was called: # once (14µs+15µs) by Sub::Quote::_clean_eval at line 4
no warnings 'closure';
# spent 29µs making 1 call to Sub::Quote::BEGIN@4.595 # spent 15µs making 1 call to warnings::unimport
5
# spent 1.08ms (166µs+909µs) within DBIx::Class::ResultSourceProxy::add_unique_constraint which was called 20 times, avg 54µs/call: # once (8µs+454µs) by Class::C3::Componentised::ensure_class_loaded at line 80 of Koha/Schema/Result/MessageAttribute.pm # once (13µs+44µs) by Class::C3::Componentised::ensure_class_loaded at line 73 of Koha/Schema/Result/AqordersTransfer.pm # once (20µs+36µs) by Class::C3::Componentised::ensure_class_loaded at line 180 of Koha/Schema/Result/Issue.pm # once (10µs+34µs) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/Serialitem.pm # once (8µs+31µs) by Class::C3::Componentised::ensure_class_loaded at line 109 of Koha/Schema/Result/AdditionalField.pm # once (7µs+30µs) by Class::C3::Componentised::ensure_class_loaded at line 56 of Sub/Defer.pm # once (8µs+26µs) by Class::C3::Componentised::ensure_class_loaded at line 160 of Koha/Schema/Result/PrintersProfile.pm # once (8µs+24µs) by Class::C3::Componentised::ensure_class_loaded at line 98 of Koha/Schema/Result/Localization.pm # once (8µs+22µs) by Class::C3::Componentised::ensure_class_loaded at line 84 of Koha/Schema/Result/CreatorImage.pm # once (8µs+22µs) by Class::C3::Componentised::ensure_class_loaded at line 109 of Koha/Schema/Result/CourseReserve.pm # once (7µs+22µs) by Class::C3::Componentised::ensure_class_loaded at line 154 of Koha/Schema/Result/Overduerule.pm # once (8µs+21µs) by Class::C3::Componentised::ensure_class_loaded at line 88 of Koha/Schema/Result/Subscriptionroutinglist.pm # once (7µs+21µs) by Class::C3::Componentised::ensure_class_loaded at line 89 of Koha/Schema/Result/AdditionalFieldValue.pm # once (8µs+19µs) by Class::C3::Componentised::ensure_class_loaded at line 597 of Koha/Schema/Result/Borrower.pm # once (8µs+19µs) by Class::C3::Componentised::ensure_class_loaded at line 93 of Koha/Schema/Result/ItemsLastBorrower.pm # once (7µs+19µs) by Class::C3::Componentised::ensure_class_loaded at line 409 of Koha/Schema/Result/Item.pm # once (8µs+18µs) by Class::C3::Componentised::ensure_class_loaded at line 79 of Koha/Schema/Result/OaiSet.pm # once (7µs+18µs) by Class::C3::Componentised::ensure_class_loaded at line 132 of Koha/Schema/Result/CourseItem.pm # once (4µs+18µs) by Class::C3::Componentised::ensure_class_loaded at line 85 of Koha/Schema/Result/AqordersTransfer.pm # once (4µs+15µs) by Class::C3::Componentised::ensure_class_loaded at line 609 of Koha/Schema/Result/Borrower.pm
sub DBIx::Class::ResultSourceProxy::add_unique_constraint {
6 $_QUOTED if 0;
7192µs $_UNQUOTED if 0;
8# BEGIN quote_sub PRELUDE
9package DBIx::Class::ResultSourceProxy;
10
# spent 7µs within DBIx::Class::ResultSourceProxy::BEGIN@10.596 which was called: # once (7µs+0s) by Sub::Quote::_clean_eval at line 15
BEGIN {
1112µs $^H = "132834";
121400ns ${^WARNING_BITS} = "UUUUUUUUUUUUUUUUU";
1316µs %^H = (
14 );
15176µs17µs}
# spent 7µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@10.596
16# END quote_sub PRELUDE
17 DBIx::Class::_ENV_::ASSERT_NO_INTERNAL_INDIRECT_CALLS and DBIx::Class::_Util::fail_on_internal_call;
1819124µs38456µs shift->result_source_instance->add_unique_constraint (@_);
# spent 290µs making 19 calls to DBIx::Class::ResultSource::add_unique_constraint, avg 15µs/call # spent 25µs making 2 calls to Koha::Schema::Result::AqordersTransfer::result_source_instance, avg 12µs/call # spent 20µs making 1 call to Koha::Schema::Result::Issue::result_source_instance # spent 15µs making 1 call to Koha::Schema::Result::MessageAttribute::result_source_instance # spent 13µs making 1 call to Koha::Schema::Result::Serialitem::result_source_instance # spent 12µs making 2 calls to Koha::Schema::Result::Borrower::result_source_instance, avg 6µs/call # spent 8µs making 1 call to Koha::Schema::Result::CreatorImage::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::CourseReserve::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::Subscriptionroutinglist::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::Localization::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::AdditionalField::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::Overduerule::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::Item::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::ItemsLastBorrower::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::AdditionalFieldValue::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::PrintersProfile::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::OaiSet::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::CourseItem::result_source_instance
19 }
2011µs $$_UNQUOTED = \&DBIx::Class::ResultSourceProxy::add_unique_constraint
21}
2214µs1;
23
24;